import request from '@/utils/request.js'

//增加
export function insertSelectiveInitial(query) {
    return request({
        url: '/api/java/Initial/insertSelective',
        //传递对象类型的参数需加请求头
        method: 'post',
        data: query
    })
}
//修改
export function updateByExperimentIdSelective(query) {
    return request({
        url: '/api/java/Initial/updateByExperimentIdSelective',
        //传递对象类型的参数需加请求头
        method: 'post',
        data: query
    })
}
//查询
export function selectAllByExperimentId(experimentId) {
    return request({
        url: '/api/java/Initial/selectAllByExperimentId/' + experimentId,
        //传递对象类型的参数需加请求头
        method: 'post',
    })
}
